package com.coin900.coin.base;

/**
 * 币新相关
 *
 * @author shui
 * @create 2018-01-18
 **/
public class BxConstants {

    /***** 币新用户账号信息 START *****/

    public static final String BX_PREFIX = "https://x.tth365.com";
    public static final String BX_LOGIN = "/oauth/token";
    public static final String BX_MY_QUERY = "/api/v2/members/me_query";
    public static final String BX_MY_TICKERS = "/api/v2/tickers";

    public static final String BX_GRANT_TYPE = "password";
    public static final String BX_CLIENT_ID = "a9f2f926a9123215afb15b408c95102e1eb0dd1ca3fd47e6999a3492103dce30";
    public static final String BX_CLIENT_SECRET = "4ebe1d38d11e0cc567a51b03925942513f6563edde3557d743538462c0eda408";

    /**
     * 币新用户统一密码
     */
    public static final String BX_DEFAULT_PASSWORD = "AfByPmyyJFXGen4aGdebkwQQ";
    /**
     * 用户认证状态 verified-已激活
     */
    public static final String BX_ID_DOCUMENT_STATUS = "verified";

    /***** 币新用户账号信息 END *****/


    /*****************************************************
     * 币新区块链接口 START
     * 接口文档地址：https://shimo.im/docs/qBoUhcwgNZI6q0Wj
     *****************************************************/

    public static final String BX_BLOCK_CHAIN_SITE = "http://47.74.227.27:9000";

    public static final String BX_BLOCK_CHAIN_BASIC_NAME = "qunaer";
    public static final String BX_BLOCK_CHAIN_BASIC_PASS = "qunaerwang";

    public static final String BX_BLOCK_CHAIN_GET_ADDRESS = BX_BLOCK_CHAIN_SITE + "/getnewaddress?currency=";
    public static final String BX_BLOCK_CHAIN_VALIDATE_ADDRESS = BX_BLOCK_CHAIN_SITE + "/validateaddress";
    public static final String BX_BLOCK_CHAIN_SEND_TO_ADDRESS = BX_BLOCK_CHAIN_SITE + "/sendtoaddress";
    public static final String BX_BLOCK_CHAIN_GET_TRANSACTION = BX_BLOCK_CHAIN_SITE + "/gettransaction";
    public static final String BX_BLOCK_CHAIN_GET_DRAIN = BX_BLOCK_CHAIN_SITE + "/drain";

    /***** 币新区块链接口 END *****/


    /***** SendGrid email START *****/
    public static final String SENDGRID_API_KEY = "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";
    public static final String SENDGRID_SEND_EMAIL = "laborc2009@gmail.com";

    /***** SendGrid email END *****/
}
